From: Tim Starling Date: Sun, 12 Dec 2004 05:07:09 +0000 (+0000) Subject: Return somewhere sensible after marking as patrolled, without an annoying meta refresh X-Git-Tag: 1.5.0alpha1~1101 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=ec321f23e458918a6ed52a020181f0c55667360f;p=lhc%2Fweb%2Fwiklou.git Return somewhere sensible after marking as patrolled, without an annoying meta refresh --- diff --git a/includes/Article.php b/includes/Article.php index 42a368f4d8..d6f71c523d 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1200,7 +1200,9 @@ class Article { RecentChange::markPatrolled( $rcid ); $wgOut->setPagetitle( wfMsg( 'markedaspatrolled' ) ); $wgOut->addWikiText( wfMsg( 'markedaspatrolledtext' ) ); - $wgOut->returnToMain( true, $this->mTitle->getPrefixedText() ); + + $rcTitle = Title::makeTitle( NS_SPECIAL, 'Recentchanges' ); + $wgOut->returnToMain( false, $rcTitle->getPrefixedText() ); } else {